package com.zhonghan.recharge.service.impl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhonghan.recharge.dao.LogDao;
import com.zhonghan.recharge.pojo.Log;
import com.zhonghan.recharge.service.LogService;
@Service
public class LogServiceImpl implements LogService{
    @Autowired
    private LogDao logDao;
    @Override
    public long getLogRowCount(){
        return logDao.getLogRowCount();
    }
    @Override
    public List<Log> selectLog(){
        return logDao.selectLog();
    }
    @Override
    public List<Log> selectLogByObj(Log obj){
        return logDao.selectLogByObj(obj);
    }
    @Override
    public Log selectLogById(Integer id){
        return logDao.selectLogById(id);
    }
    @Override
    public int insertLog(Log value){
        return logDao.insertLog(value);
    }
    @Override
    public int insertNonEmptyLog(Log value){
        return logDao.insertNonEmptyLog(value);
    }
    @Override
    public int insertLogByBatch(List<Log> value){
        return logDao.insertLogByBatch(value);
    }
    @Override
    public int deleteLogById(Integer id){
        return logDao.deleteLogById(id);
    }
    @Override
    public int updateLogById(Log enti){
        return logDao.updateLogById(enti);
    }
    @Override
    public int updateNonEmptyLogById(Log enti){
        return logDao.updateNonEmptyLogById(enti);
    }

    public LogDao getLogDao() {
        return this.logDao;
    }

    public void setLogDao(LogDao logDao) {
        this.logDao = logDao;
    }

}